#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import sys
args=sys.argv[1:]
args.reverse()
print ' '.join(args)